package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 酒店历史价格对象 hotel_price_history
 * 
 * @author dht
 * @date 2025-04-28
 */
public class HotelPriceHistory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 历史价格ID */
    private Long priceHistoryId;

    /** 酒店ID */
    @Excel(name = "酒店ID")
    private Long hotelId;

    /** 房间类型 */
    @Excel(name = "房间类型")
    private Long hotelRoomType;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    public void setPriceHistoryId(Long priceHistoryId) 
    {
        this.priceHistoryId = priceHistoryId;
    }

    public Long getPriceHistoryId() 
    {
        return priceHistoryId;
    }

    public void setHotelId(Long hotelId) 
    {
        this.hotelId = hotelId;
    }

    public Long getHotelId() 
    {
        return hotelId;
    }

    public void setHotelRoomType(Long hotelRoomType) 
    {
        this.hotelRoomType = hotelRoomType;
    }

    public Long getHotelRoomType() 
    {
        return hotelRoomType;
    }

    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("priceHistoryId", getPriceHistoryId())
            .append("hotelId", getHotelId())
            .append("hotelRoomType", getHotelRoomType())
            .append("price", getPrice())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
